﻿using System;
using System.Collections.Generic;
using System.Xml;
using System.Xml.Serialization;
using System.Text;
using System.Collections.ObjectModel;

namespace Software41.TrackingExample.PipelineComponents
{
    [XmlRoot(ElementName = "XPathProperties", Namespace = "http://Software41.BAM")]
    [XmlTypeAttribute(Namespace = "http://Software41.BAM")]
    public class XPathProperties
    {
        private string _name = String.Empty;
        private string _xpath = String.Empty;

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string XPathExpr
        {
            get { return _xpath; }
            set { _xpath = value; }
        }
    }

    [XmlRoot(ElementName = "XPathPropertiesCollection", Namespace = "http://Software41.BAM")]
    [XmlTypeAttribute(Namespace = "http://Software41.BAM")]
    public class XPathPropertiesCollection : Collection<XPathProperties>
    {

    }
}